<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Request</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Request</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Request class</p>
<p class="description"><p>Wrapper around a <div class="src-code"><ol><li><div class="src-line"><span class="src-var">$_POST</span><span class="src-sym">,&nbsp;</span><span class="src-var">$_GET&nbsp;</span><span class="src-key">and&nbsp;</span><span class="src-var">$_FILES</span></div></li>
</ol></div></p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Jeroen Simons &lt;<a href="mailto:jeroen@melange.nl">jeroen@melange.nl</a>&gt;</li>
				<li><span class="field">copyright:</span> Copyright (c) 2007 Jeroen Simons. All rights reserved</li>
				<li><span class="field">link:</span> <a href="http://www.melange.nl/">http://www.melange.nl/</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_http---Request.php.html">/http/Request.php</a> (line <span class="field">39</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../media/images/Constant.png" alt=" " />
					<a href="#SESSION_COOKIE_NAME" title="details" class="const-name">SESSION_COOKIE_NAME</a> = 					<span class="var-type"> &quot;SESSID&quot;</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$attributes" title="details" class="var-name">$attributes</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$parameters" title="details" class="var-name">$parameters</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$parsed" title="details" class="var-name">$parsed</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$requestURI" title="details" class="var-name">$requestURI</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$session" title="details" class="var-name">$session</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$userPrincipal" title="details" class="var-name">$userPrincipal</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$uri</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#addParameter" title="details" class="method-name">addParameter</a>
											(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">values</span>&nbsp;<span class="var-name">$values</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getAttribute" title="details" class="method-name">getAttribute</a>
											(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getAttributeNames" title="details" class="method-name">getAttributeNames</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getParameter" title="details" class="method-name">getParameter</a>
											(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">A</span>
										<a href="#getParameterMap" title="details" class="method-name">getParameterMap</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getParameterNames" title="details" class="method-name">getParameterNames</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getParameterValues" title="details" class="method-name">getParameterValues</a>
											(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getRequestURI" title="details" class="method-name">getRequestURI</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#getUserPrincipal" title="details" class="method-name">getUserPrincipal</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#isUserInRole" title="details" class="method-name">isUserInRole</a>
											(<span class="var-type">role</span>&nbsp;<span class="var-name">$role</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#parseParameters" title="details" class="method-name">parseParameters</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#removeAttribute" title="details" class="method-name">removeAttribute</a>
											(<span class="var-type">name</span>&nbsp;<span class="var-name">$key</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setAttribute" title="details" class="method-name">setAttribute</a>
											(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">value</span>&nbsp;<span class="var-name">$value</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setRequestURI" title="details" class="method-name">setRequestURI</a>
											(<span class="var-type">uri</span>&nbsp;<span class="var-name">$requestURI</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#setUserPrincipal" title="details" class="method-name">setUserPrincipal</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$principal</span>)
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$attributes" id="$attributes"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$attributes</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number">58</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The attributes associated with this Request, keyed by attribute name.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$parameters" id="$parameters"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$parameters</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">73</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The parsed parameters for this request.  This is populated only if</p>
<p class="description"><p>parameter information is requested via one of the  <div class="src-code"><ol><li><div class="src-line"><a href="../http/Request.html#methodgetParameter">getParameter</a><span class="src-sym">(</span><span class="src-sym">)</span></div></li>
</ol></div> family of method calls.  The key is the  parameter name, while the value is a String array of values for this  parameter.  &lt;p&gt;
 &lt;strong&gt;IMPLEMENTATION NOTE&lt;/strong&gt; - Once the parameters for a  particular request are parsed and stored here, they are not modified.  Therefore, application level access to the parameters need not be  synchronized.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$parsed" id="$parsed"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$parsed</span>
			 = <span class="var-default"> false</span>			(line <span class="line-number">79</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Have the parameters for this request been parsed yet?</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$requestURI" id="$requestURI"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$requestURI</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">85</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The request URI associated with this request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$session" id="$session"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$session</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">91</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The currently active session for this request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$userPrincipal" id="$userPrincipal"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$userPrincipal</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">97</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The Principal who has been authenticated for this Request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">111</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Construct a new Request using a request uri</p>
<p class="description"><p>Sets the uri instance variable</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			__construct
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$uri</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$uri</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddParameter" id="addParameter"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">addParameter</span> (line <span class="line-number">187</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add a parameter name and corresponding set of values to this Request.</p>
<p class="description"><p>(This is used when restoring the original request on a form based  login).</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addParameter
		</span>
					(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">values</span>&nbsp;<span class="var-name">$values</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">name</span>
				<span class="var-name">$name</span><span class="var-description">: Name of this request parameter</span>			</li>
					<li>
				<span class="var-type">values</span>
				<span class="var-name">$values</span><span class="var-description">: Corresponding values for this request parameter</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetAttribute" id="getAttribute"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getAttribute</span> (line <span class="line-number">129</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the value of the specified request attribute, if any; otherwise,  return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.  If there is more than one value defined,  return only the first one.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getAttribute
		</span>
					(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">name</span>
				<span class="var-name">$name</span><span class="var-description">: Name of the desired request attribute</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetAttributeNames" id="getAttributeNames"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getAttributeNames</span> (line <span class="line-number">138</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the names of all defined request attributes for this request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getAttributeNames
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetParameter" id="getParameter"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getParameter</span> (line <span class="line-number">201</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the value of the specified request parameter, if any; otherwise,  return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.  If there is more than one value defined,  return only the first one.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getParameter
		</span>
					(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">name</span>
				<span class="var-name">$name</span><span class="var-description">: Name of the desired request parameter</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetParameterMap" id="getParameterMap"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getParameterMap</span> (line <span class="line-number">225</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a <div class="src-code"><ol><li><div class="src-line"><span class="src-id">Map</span></div></li>
</ol></div> of the parameters of this request.</p>
<p class="description"><p>Request parameters are extra information sent with the request.  For HTTP servlets, parameters are contained in the query string  or posted form data.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> <div class="src-code"><ol><li><div class="src-line"><span class="src-id">Map</span></div></li>
</ol></div> containing parameter names as keys   and parameter values as map values.</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">A</span>
		<span class="method-name">
			getParameterMap
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetParameterNames" id="getParameterNames"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getParameterNames</span> (line <span class="line-number">236</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the names of all defined request parameters for this request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getParameterNames
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetParameterValues" id="getParameterValues"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getParameterValues</span> (line <span class="line-number">250</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the defined values for the specified request parameter, if any;  otherwise, return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">null</span></div></li>
</ol></div>.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getParameterValues
		</span>
					(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">name</span>
				<span class="var-name">$name</span><span class="var-description">: Name of the desired request parameter</span>			</li>
				</ul>
		
			
	</div>
<a name="methodgetRequestURI" id="getRequestURI"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">getRequestURI</span> (line <span class="line-number">268</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the request URI for this request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getRequestURI
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgetUserPrincipal" id="getUserPrincipal"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">getUserPrincipal</span> (line <span class="line-number">328</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return the principal that has been authenticated for this Request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getUserPrincipal
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodisUserInRole" id="isUserInRole"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">isUserInRole</span> (line <span class="line-number">293</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Return <div class="src-code"><ol><li><div class="src-line"><span class="src-id">true</span></div></li>
</ol></div> if the authenticated user principal  possesses the specified role name.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			isUserInRole
		</span>
					(<span class="var-type">role</span>&nbsp;<span class="var-name">$role</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">role</span>
				<span class="var-name">$role</span><span class="var-description">: Role name to be validated</span>			</li>
				</ul>
		
			
	</div>
<a name="methodparseParameters" id="parseParameters"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">parseParameters</span> (line <span class="line-number">341</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parse the parameters of this request, if it has not already occurred.</p>
<p class="description"><p>If parameters are present in both the query string and the request  content, they are merged.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			parseParameters
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodremoveAttribute" id="removeAttribute"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">removeAttribute</span> (line <span class="line-number">148</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Remove the specified request attribute if it exists.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeAttribute
		</span>
					(<span class="var-type">name</span>&nbsp;<span class="var-name">$key</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">name</span>
				<span class="var-name">$key</span><span class="var-description">: Name of the request attribute to remove</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetAttribute" id="setAttribute"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setAttribute</span> (line <span class="line-number">161</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the specified request attribute to the specified value.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setAttribute
		</span>
					(<span class="var-type">name</span>&nbsp;<span class="var-name">$name</span>, <span class="var-type">value</span>&nbsp;<span class="var-name">$value</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">name</span>
				<span class="var-name">$name</span><span class="var-description">: Name of the request attribute to set</span>			</li>
					<li>
				<span class="var-type">value</span>
				<span class="var-name">$value</span><span class="var-description">: The associated value</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetRequestURI" id="setRequestURI"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">setRequestURI</span> (line <span class="line-number">280</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the unparsed request URI for this Request.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setRequestURI
		</span>
					(<span class="var-type">uri</span>&nbsp;<span class="var-name">$requestURI</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">uri</span>
				<span class="var-name">$requestURI</span><span class="var-description">: The request URI</span>			</li>
				</ul>
		
			
	</div>
<a name="methodsetUserPrincipal" id="setUserPrincipal"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">setUserPrincipal</span> (line <span class="line-number">320</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set the Principal who has been authenticated for this Request.  This  value is also used to calculate the value to be returned by the  <div class="src-code"><ol><li><div class="src-line"><span class="src-id">getRemoteUser</span><span class="src-sym">(</span><span class="src-sym">)</span></div></li>
</ol></div> method.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setUserPrincipal
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$principal</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">principal</span>
				<span class="var-name">$principal</span><span class="var-description">: The user Principal</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constSESSION_COOKIE_NAME" id="SESSION_COOKIE_NAME"><!-- --></A>
<div class="oddrow">

	<div class="const-header">
		<img src="../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">SESSION_COOKIE_NAME</span>
			 = <span class="const-default"> &quot;SESSID&quot;</span>
			(line <span class="line-number">49</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The name of the cookie used to pass the session identifier back  and forth with the client.</p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Fri, 25 Jan 2008 19:12:46 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>